﻿//创建时间: 2010-10-11
//创建作者: 李 城
//功能说明: 录入类型管理
//最后修改: 2010-10-11
using System;
using System.Collections.Generic;
using System.Text;

using TRPOP.Common;

namespace TRPOP.CMS.Model
{
    /// <summary>
    ///  form录入类型
    /// </summary>
    [Serializable]
    public class FormInputTypeInfo
    {
        #region 私有变量
        private int m_intFormInputTypeId = 0;
        private string m_strName = "";
        private string m_strFormItem = "";
        private string m_strDescription = "";
        private DateTime m_datAddTime = StringExtension.NullDateTime;
        private int m_intAddUserId = 0;
        #endregion

        #region 成员函数

        /// <summary>
        ///  录入类型id
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public int FormInputTypeId
        {
            get
            {
                return m_intFormInputTypeId;
            }
            set
            {
                m_intFormInputTypeId = value;
            }
        }

        /// <summary>
        ///  名称
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string Name
        {
            get
            {
                return m_strName;
            }
            set
            {
                m_strName = value;
            }
        }

        /// <summary>
        ///  form元素名
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string FormItem
        {
            get
            {
                return m_strFormItem;
            }
            set
            {
                m_strFormItem = value;
            }
        }

        /// <summary>
        ///  描述
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string Description
        {
            get
            {
                return m_strDescription;
            }
            set
            {
                m_strDescription = value;
            }
        }

        /// <summary>
        ///  添加时间
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public DateTime AddTime
        {
            get
            {
                return m_datAddTime;
            }
            set
            {
                m_datAddTime = value;
            }
        }

        /// <summary>
        ///  添加者id
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public int AddUserId
        {
            get
            {
                return m_intAddUserId;
            }
            set
            {
                m_intAddUserId = value;
            }
        }

        #endregion

    }
}

